using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    [Serializable]
    public partial class message
    {
        public message()
        { }
        #region Model
        private int _mesid;
        private string _title = "";
        private string _content;
        private int _creatorid;
        private DateTime _createtime = DateTime.Now;
        private int _state = 0;
        private int _uid;
        private string _creatorUserName;
        /// <summary>
        /// 
        /// </summary>
        public int mesId
        {
            set { _mesid = value; }
            get { return _mesid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int creatorID
        {
            set { _creatorid = value; }
            get { return _creatorid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int state
        {
            set { _state = value; }
            get { return _state; }
        }

        public int uId
        {
            set { _uid = value; }
            get { return _uid; }
        }
        #endregion Model

        public string creatorUserName
        {
            set { _creatorUserName = value; }
            get { return _creatorUserName; }
        }
    }
}
